package com.ruoyi.yipaiju.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * fo_investigation_order对象 fo_investigation_order
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public class InvestigationOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** no */
    @Excel(name = "no")
    private String no;

    /** client */
    @Excel(name = "client")
    private Long client;

    private String foreclosedHouseTitle;

    /** serving_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "serving_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date servingTime;

    /** finish_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "finish_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** status */
    @Excel(name = "status")
    private Integer status;

    /** stage */
    @Excel(name = "stage")
    private Integer stage;

    /** merchant */
    @Excel(name = "merchant")
    private String merchant;

    /** rate */
    @Excel(name = "rate")
    private Integer rate;

    /** comment */
    @Excel(name = "comment")
    private String comment;

    /** foreclosed_house_id */
    @Excel(name = "foreclosed_house_id")
    private Long foreclosedHouseId;

    /** finished */
    @Excel(name = "finished")
    private Integer finished;

    private Integer type;

    private ForeclosedHouse foreclosedHouse;

    private List<InvestigationOrderFollower> investigationOrderFollowers;

    // 添加买卖人
    // 买卖人头像
    private String img;
    // 买卖人昵称
    private String markName;
    // 买卖人电话
    private String telphone;

    private String banner;

    private String auctionUrl;

    private Long marketer;

    private Long followId;

    private String province;
    private String city;
    private String district;
    private String createDate;
    /**
     * 默认排序 id 倒序
     * -price_yuan  价格高到低
     * price_yuan   价格低到高
     * -start_time  最新发布 按开始时间倒序
     * discount_rate折扣高到低，折扣高的也就是值小的
     */
    private String orderings;

    public String getAuctionUrl() {
        return auctionUrl;
    }

    public void setAuctionUrl(String auctionUrl) {
        this.auctionUrl = auctionUrl;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getOrderings() {
        return orderings;
    }

    public void setOrderings(String orderings) {
        this.orderings = orderings;
    }

    public Long getFollowId() {
        return followId;
    }

    public void setFollowId(Long followId) {
        this.followId = followId;
    }
    public Long getMarketer() {
        return marketer;
    }

    public void setMarketer(Long marketer) {
        this.marketer = marketer;
    }

    public List<InvestigationOrderFollower> getInvestigationOrderFollowers() {
        return investigationOrderFollowers;
    }

    public void setInvestigationOrderFollowers(List<InvestigationOrderFollower> investigationOrderFollowers) {
        this.investigationOrderFollowers = investigationOrderFollowers;
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = banner;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getMarkName() {
        return markName;
    }

    public void setMarkName(String markName) {
        this.markName = markName;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public ForeclosedHouse getForeclosedHouse() {
        return foreclosedHouse;
    }

    public void setForeclosedHouse(ForeclosedHouse foreclosedHouse) {
        this.foreclosedHouse = foreclosedHouse;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getForeclosedHouseTitle() {
        return foreclosedHouseTitle;
    }

    public void setForeclosedHouseTitle(String foreclosedHouseTitle) {
        this.foreclosedHouseTitle = foreclosedHouseTitle;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setClient(Long client)
    {
        this.client = client;
    }

    public Long getClient()
    {
        return client;
    }
    public void setServingTime(Date servingTime) 
    {
        this.servingTime = servingTime;
    }

    public Date getServingTime() 
    {
        return servingTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setStage(Integer stage) 
    {
        this.stage = stage;
    }

    public Integer getStage() 
    {
        return stage;
    }
    public void setMerchant(String merchant) 
    {
        this.merchant = merchant;
    }

    public String getMerchant() 
    {
        return merchant;
    }
    public void setRate(Integer rate) 
    {
        this.rate = rate;
    }

    public Integer getRate() 
    {
        return rate;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setForeclosedHouseId(Long foreclosedHouseId) 
    {
        this.foreclosedHouseId = foreclosedHouseId;
    }

    public Long getForeclosedHouseId() 
    {
        return foreclosedHouseId;
    }
    public void setFinished(Integer finished) 
    {
        this.finished = finished;
    }

    public Integer getFinished() 
    {
        return finished;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("client", getClient())
            .append("createTime", getCreateTime())
            .append("servingTime", getServingTime())
            .append("finishTime", getFinishTime())
            .append("status", getStatus())
            .append("stage", getStage())
            .append("merchant", getMerchant())
            .append("rate", getRate())
            .append("comment", getComment())
            .append("foreclosedHouseId", getForeclosedHouseId())
            .append("finished", getFinished())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
